{
  "name"    : "server component include config",

  "include" :
  [
    {
      "path" : "${QOOXDOO_PATH}/component/testrunner/testrunner.json",
      "import" : ["build-basic-portable", "build-basic-script"]
    }
  ],

  "let" :
  {
    "APPLICATION"  : "server",
    "QOOXDOO_PATH" : "../../..",
    "QXTHEME"      : "server.theme.Theme",
    "API_EXCLUDE"  : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
    "LOCALES"      : [ "en" ],
    "CACHE"        : "${TMPDIR}/qx${QOOXDOO_VERSION}/cache",
    "BUILD_PATH"   : "script",
    "ROOT"         : "."
  },


  "jobs" :
  {

    "qxoo-common" :
    {
      "config-warnings" :
      {
        "exclude" : ["qx.event.GlobalError"]
      },

      "library" :
      [
        {
          "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json",
          "uri" : ".."
        }
      ],

      "extend" : [ "cache" ],

      "include" :
      [
        "qx.Class"
        ,"qx.Mixin"
        ,"qx.Interface"
        ,"qx.data.marshal.Json"
        ,"qx.bom.client.Runtime"
      ],

      "exclude" :
      [
        "qx.event.GlobalError"
      ],

      "environment" :
      {
        "qx.debug" : false,
        "qx.debug.dispose" : false,
        "qx.debug.databinding" : false,
        "qx.aspects" : false,
        "qx.globalErrorHandling" : false
      },

      "compile-options" :
      {
        "paths" :
        {
          "file-prefix" : "${QOOXDOO_PATH}/tool/data/generator/copyright.include.js",
          "loader-template" : "${QOOXDOO_PATH}/tool/data/generator/oo.loader.tmpl.js"
        },
        "uris" :
        {
          "script"   : ".",
          "resource" : "."
        }
      }
    },


    "build-min" :
    {
      "desc" : "a basic qooxdoo OO library",
      "extend" : [ "qxoo-common" ],

      "compile-options" :
      {
        "paths" :
        {
          "file" : "${BUILD_PATH}/qx-oo-${QOOXDOO_VERSION}.min.js",
          "app-root" : "."
        },
        "code" :
        {
          "format"   : true,
          "except"   : [],
          "optimize" : [ "variables", "basecalls", "privates", "strings", "variants", "whitespace" ]
        }
      },
      "compile" : { "type" : "build" }
    },


    "build" :
    {
      "desc" : "a basic qooxdoo OO library (non-optimized)",
      "extend" : [ "qxoo-common" ],

      "compile-options" :
      {
        "paths" :
        {
          "file" : "${BUILD_PATH}/qx-oo-${QOOXDOO_VERSION}.js",
          "app-root" : "."
        },
        "code" :
        {
          "format"   : true,
          "except"   : [],
          "optimize" : [ ]
        }
      },
      "compile" : { "type" : "build" }
    }
  }
}
